﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Top.aspx.cs" Inherits="Top" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style>
        *
        {
            margin: 0 auto;
            padding: 0;
            border: 0;
        }
        body
        {
            font: 12px "宋体";
            color: #FFF;
        }
        .lable
        {
            background: url(../images/top_lable.jpg) no-repeat;
            width: 126px;
            height: 28px;
            float: left;
        }
        .lable p
        {
            margin-top: 8px;
        }
        .menu
        {
            background: url(../images/top_menu.jpg) no-repeat;
            /*width: 348px;*/
            width: 348px;
            height: 28px;
            float: right;
        }
        .menu ul
        {
            margin:  3px 0px 0px 130px;
            list-style: none;
        }
        .menu li
        {
            display: inline;
        }
        .menu a
        {
            float: left;
            text-decoration: none;
            padding-left: 2px;
        }
        .menu a:hover
        {
            text-decoration: none;
        }
        .menu a span
        {
            display: block;
            padding-right: 10px;
            color: #FFF;
        }
        .menu a:hover span
        {
            color: #004c7e;
        }
        .menu_left
        {
            background: url(../images/menu_left.jpg) no-repeat;
            width: 155px;
            height: 22px;
            float: left;
            margin: 3px 0 0 2px;
            text-align: center;
        }
        .menu_left p
        {
            margin-top: 5px;
        }
        .menu_list
        {
            width: 100%;
            height: 25px;
        }
        .menu_list ul
        {
            margin: 0;
            padding: 4px 0 0 70px;
            list-style: none;
        }
        .menu_list li
        {
            display: inline;
        }
        .menu_list a
        {
            float: left;
            text-decoration: none;
            height: 16px;
        }
        .menu_list a span
        {
            display: block;
            padding: 4px 10px 0 10px;
            color: #004c7e;
        }
        .menu_list a:hover span
        {
            color: #FFF;
            border: 1px solid #004c7e;
        }
        .menu_list a:hover
        {
            background: url(../images/menu_list.jpg) repeat-x;
        }
    </style>

    <script type="text/javascript" language="javascript">
        function ChangeUrl(flag) {
            if (flag == "1") {
                parent.leftFrame.document.location = "../Frame/left_1.aspx";
                parent.mainFrame.document.location = "../VipManage/VipMemberManage.aspx";
            }
            else if (flag == "4") {
                parent.leftFrame.document.location = "../Frame/left_4.aspx";
                parent.mainFrame.document.location = "../SystemManage/Labor_CompanyManage.aspx";
            }
            else if (flag == "5") {
                parent.leftFrame.document.location = "../Frame/left_1.aspx";
                parent.mainFrame.document.location = "../VipManage/VipSumirise.aspx";
            }
            else if (flag == "6")
            {
                window.parent.close(); 
            }

        }
       
    </script>

</head>
<body>
    <form id="mainForm" runat="server">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td background="../images/top_bg.jpg" width="289" height="57">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td>
                            <img src="../images/top_lf.jpg" />
                        </td>
                    </tr>
                </table>
            </td>
            <td background="../images/top_bg.jpg">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td height="29" align="right">
                            <%--<marquee behavior="scroll" onMouseOver="this.stop()"  onMouseOut="this.star()">--%>
                            当前日期：<asp:Label ID="lblCurrentDate" runat="server" Text="Label"></asp:Label>
                            欢迎<asp:Label ID="lblUserName" runat="server" Text="Label"></asp:Label>
                            <%-- </marquee>--%>
                        </td>
                    </tr>
                    <tr>
                        <td width="50%" height="28">
                            <div class="lable">
                                <p>
                                </p>
                            </div>
                        </td>
                        <td>
                            <div class="menu">
                                <ul>
                                    <li onclick="return ChangeUrl('5');"><a href="#"><span>首页</span></a></li>
                                    <li><a href="../SystemManage/UserPassWordEdit.aspx" target="mainFrame"><span>修改密码</span></a></li>
                                    <li><a href="#"><span>帮助</span></a></li>
                                    <li onclick="return ChangeUrl('6');"><a href="#"><span>退出</span></a></li>
                                </ul>
                            </div>
                        </td>
                        <td width="18">
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <table width="100%" height="25" border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td background="../images/menu_bg.jpg" width="165">
                <div class="menu_left">
                    <p>
                    </p>
                </div>
            </td>
            <td background="../images/menu_bg.jpg">
                <div class="menu_list">
                    <ul>
                        <li onclick="return ChangeUrl('1');"><a href="#"><span>会员管理</span></a></li>
                        <li><a href="../Frame/left_2.aspx" target="leftFrame"><span>工会管理</span></a></li>
                        <li><a href="../Frame/left_3.aspx" target="leftFrame"><span>职工福利</span></a></li>
                        <li onclick="return ChangeUrl('4');"><a href="#"><span>系统维护</span></a></li>
                    </ul>
                </div>
            </td>
        </tr>
    </table>
    </form>
    <body>
</html>
